package com.entity;


public class Admin {
    private String admName;

    private String admPassword;

    private String admUsername;

    private String admIdentity;

    private String phone;

    public String getAdmName() {
        return admName;
    }

    public void setAdmName(String admName) {
        this.admName = admName == null ? null : admName.trim();
    }

    public String getAdmPassword() {
        return admPassword;
    }

    public void setAdmPassword(String admPassword) {
        this.admPassword = admPassword == null ? null : admPassword.trim();
    }

    public String getAdmUsername() {
        return admUsername;
    }

    public void setAdmUsername(String admUsername) {
        this.admUsername = admUsername == null ? null : admUsername.trim();
    }

    public String getAdmIdentity() {
        return admIdentity;
    }

    public void setAdmIdentity(String admIdentity) {
        this.admIdentity = admIdentity == null ? null : admIdentity.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    //
    public Admin() {
    }

    public Admin(String admName, String admPassword, String admUsername, String admIdentity, String phone) {
        this.admName = admName;
        this.admPassword = admPassword;
        this.admUsername = admUsername;
        this.admIdentity = admIdentity;
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "admName='" + admName + '\'' +
                ", admPassword='" + admPassword + '\'' +
                ", admUsername='" + admUsername + '\'' +
                ", admIdentity='" + admIdentity + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }
}